package cn.iocoder.yudao.module.enterprise.controller.admin.praxisProject.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
* 实践项目 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
@ApiModel("管理后台 - 实践项目EnterpriseProjectUpdateVO")
public class EnterpriseProjectUpdateVO {

    @ApiModelProperty(value = "报名ID集合" )
    @NotEmpty(message = "报名ID不能为空")
    private  List<Long> ids;

    @ApiModelProperty(value = "类型;0:撤销;1:入选;" )
    @NotNull(message = "类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "其他" )
    private String otherNotes;

    @ApiModelProperty(value = "联系人" )
    private String linkName;

    @ApiModelProperty(value = "联系方式" )
    private String linkMobile;

    @ApiModelProperty(value = "奖项名称" )
    @JsonFormat(shape= JsonFormat.Shape.STRING, timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String prizeName;

    @ApiModelProperty(value = "颁奖典礼" )
    @JsonFormat(shape= JsonFormat.Shape.STRING, timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date prizeCeremony;

    @ApiModelProperty(value = "颁奖类型;1:线上颁奖;2:线下颁奖" )
    @JsonFormat(shape= JsonFormat.Shape.STRING, timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Integer prizeType;

    @ApiModelProperty(value = "是否发送邮件,0:不发送,1:发送")
    private Integer isSendEmail;

}
